/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mx.com.ugto.caadi.asistencias.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 *
 * @author Maestria
 */
public class FechaUtil {

    public static String dateToStringDDMMAAAA(Date date) {
        SimpleDateFormat sdf = new SimpleDateFormat("dd/MM/yyyy");
        return sdf.format(date);
    }
    
    public static void main(String[] args) {
        System.out.println(dateToStringDDMMAAAA(new Date()));
    }
}
